package com.eshop.eshopmanagersystem.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import jdk.nashorn.internal.ir.annotations.Ignore;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;

/**
 * 用户实体类
 * 超市用户端
 */

@Data
@AutoConfigureAfter
@NoArgsConstructor
public class UserInfo {
    private Integer user_id;
    private String username;
    //如果在进行数据查询时，想不显示敏感数据，那么在实体的字段上面加上@JsonIgnore注解
    //@JsonIgnore
    private String user_password;
    private String user_role;
    private String shop_name;
    private String shop_address;
    private String shop_city;
    private String shop_manager;
    private String contact;
    private String create_time;
    private String lastlogin_time;
    //修改密码用字段
    private String oldpass;
    private String newpass;

    //批量删除 id集合
    private String ids;
}
